package com.ruoyi.mall.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 积分商城订单明细视图对象 mall_order_detail
 *
 * @author ruoyi
 * @date 2025-02-20
 */
@Data
@ExcelIgnoreUnannotated
public class MallOrderDetailVo {

    private static final long serialVersionUID = 1L;

    /**
     * 积分商城订单明细表主键
     */
    @ExcelProperty(value = "积分商城订单明细表主键")
    private Long id;

    /**
     * 积分商城订单明细ID
     */
    @ExcelProperty(value = "积分商城订单明细ID")
    private String scoreMallOrderDetailId;

    /**
     * 积分商城订单ID
     */
    @ExcelProperty(value = "积分商城订单ID")
    private String scoreMallOrderId;

    /**
     * 商品ID
     */
    @ExcelProperty(value = "商品ID")
    private Long goodsId;

    /**
     * 
     */
    @ExcelProperty(value = "")
    private String goodsName;

    /**
     * 支付规则 (0：积分 1：现金 2：积分+现金）
     */
    @ExcelProperty(value = "支付规则 (0：积分 1：现金 2：积分+现金）")
    private Long goodsPayRule;

    /**
     * 商品积分数
     */
    @ExcelProperty(value = "商品积分数")
    private Long goodsScore;

    /**
     * 商品现金（单位:分）
     */
    @ExcelProperty(value = "商品现金", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "单=位:分")
    private Long goodsMoney;

    /**
     * 商品数量
     */
    @ExcelProperty(value = "商品数量")
    private Long goodsAmount;

    /**
     * 关联商品规格类型ID
     */
    @ExcelProperty(value = "关联商品规格类型ID")
    private Long goodsSpecificationsId;

    /**
     * 商品规格类别名称
     */
    @ExcelProperty(value = "商品规格类别名称")
    private String specificationsName;

    /**
     * 商品类别规格明细ID
     */
    @ExcelProperty(value = "商品类别规格明细ID")
    private Long goodsSpecificationsDetailId;

    /**
     * 商品类别规格明细名称
     */
    @ExcelProperty(value = "商品类别规格明细名称")
    private String specificationsDetailName;

    /**
     * 删除标志(0：未删除 1：已删除)
     */
    @ExcelProperty(value = "删除标志(0：未删除 1：已删除)")
    private Long yn;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
